home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Compilers⁄Interps / little-c / Ex3.c < prev    next >
C/C++ Source or Header  |  1993-10-04  |  181b  |  14 lines

  1. /* Assigments as operations. */
  2. main()
  3. {
  4.   int a, b;
  5.   a = b = 10;
  6.   print(a); print(b);
  7.   while(a=a-1) {
  8.     print(a);
  9.     do {
  10.        print(b); 
  11.     }while((b=b-1) > -10); 
  12.   }
  13. }
  14.